package svcmodel

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ GatewayServiceInfoModel = (*customGatewayServiceInfoModel)(nil)

type (
	// GatewayServiceInfoModel is an interface to be customized, add more methods here,
	// and implement the added methods in customGatewayServiceInfoModel.
	GatewayServiceInfoModel interface {
		gatewayServiceInfoModel
	}

	customGatewayServiceInfoModel struct {
		*defaultGatewayServiceInfoModel
	}
)

// NewGatewayServiceInfoModel returns a model for the database table.
func NewGatewayServiceInfoModel(conn sqlx.SqlConn, c cache.CacheConf) GatewayServiceInfoModel {
	return &customGatewayServiceInfoModel{
		defaultGatewayServiceInfoModel: newGatewayServiceInfoModel(conn, c),
	}
}
